package model.commands;

import model.TurtleState;
import model.semantics.UnaryOperation;

public class SetHeading extends UnaryOperation
{

	@Override
	protected Integer evaluateValue(TurtleState state, Integer value)
	{
		return ((TurtleState)state).getTurtle().setDirection(value);
	}

}
